#ifndef SOCKETCONNECTION_H
#define SOCKETCONNECTION_H

#include <QThread>
#include <QTcpSocket>

class SocketConnection : public QThread
{
    Q_OBJECT

public:

    SocketConnection();
    QTcpSocket* socket;

public slots:

    void pacoteNovo ();
    void erro();

signals:

    void textoRecebido(QString texto);
};

#endif // SOCKETCONNECTION_H
